{% extends "comics/base.html" %}
{% load i18n %}
{% block body %}

{% if webcomic.image %}
<div class="comic-headerImage">
    <a href="{% url comics.webcomic webcomic.slug %}">
        <img alt="Webcomic main image" class="comic-headerImage" src="{{ webcomic.image.url }}"></img>
    </a>
</div>
{% endif %}

<table class="archive">
	<legend>
		<b><a href="{{webcomic.link}}">{{webcomic.title}}</a> Archive</b></legend>
    <thead>
        <tr>
            <th class="title">{% trans "Title"%}</th>
            <th class="created">{% trans "Released"%}</th>
        </tr>
    </thead>
    <tbody>
    {% for strip in page.object_list %}
    <tr>        
        <td class="title">
        	<a href="{{strip.link}}">{{strip.name}}</a></td>
        <td class="created">{{strip.created|date:"d/M/Y, G:i"}}</td>
    </tr>
    {% endfor %}
    </tbody>
</table>
{% endblock body %}